import java.util.List;

/**
 * Created by xwj on 2017/9/1.
 */
public class Main {

    private static String motionFile="";
    private static String originalYUV="";
    private static String viewportYUVPrefix="";

    private static String originalDestYUV="";
    private static String viewportYUV="";

    public static void main(String[] args){
        List<Point> pointList=HeadMotion.readFile(motionFile);
        List<Point> segmentPoint=Prediction.getPredictPoint(pointList);
        MakeFile.makeOrigiFile(originalYUV,pointList,1,originalDestYUV);
        MakeFile.makePredictionFile(viewportYUVPrefix,pointList,segmentPoint,1,viewportYUV);

    }

}
